package com.qyer.lxp.model.errorlog;

import java.io.Serializable;
import java.util.Date;

/**
 * 日志异常model类
 * Created by jiangping on 16/6/2.
 */
public class TaskErrorLog implements Serializable {
    private static final long serialVersionUID = 5829485296611093041L;

    /**
     * 主键id
     */
    private int id;

    /**
     * 请求参数
     */
    private String param;

    /**
     * 请求的接口名
     */
    private String methodName;

    /**
     * 请求接口的返回类型
     */
    private String returnType;

    /**
     * 日志创建时间
     */
    private Date createTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getParam() {
        return param;
    }

    public void setParam(String param) {
        this.param = param;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public String getReturnType() {
        return returnType;
    }

    public void setReturnType(String returnType) {
        this.returnType = returnType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "TaskErrorLog{" +
                "id=" + id +
                ", param='" + param + '\'' +
                ", methodName='" + methodName + '\'' +
                ", returnType='" + returnType + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
